//
//  LSZInquiryPoorHouseholdsManager.m
//  PartyClassCloud
//
//  Created by 梁素珍 on 2018/11/26.
//  Copyright © 2018年 九酷. All rights reserved.
//

#import "LSZInquiryPoorHouseholdsManager.h"

@implementation LSZInquiryPoorHouseholdsManager
-(id)initWithInquiryPoorHouseholds :(NSArray *)array
{
    self = [super init];
    if (self) {
        self.mutArrayData = [[NSMutableArray alloc]init];
        NSMutableArray * arrayMut = [[NSMutableArray alloc]init];
        for (NSDictionary * dic in array) {
            LSZInquiryPoorHouseholdsMg * manager = [[LSZInquiryPoorHouseholdsMg alloc]init];
            if ([[dic allKeys] containsObject:@"name"]) {
                manager.name = NullStringjudgment(NSStr(dic[@"name"]));
            }
            if ([[dic allKeys] containsObject:@"povertyStatus"]) {
                manager.povertyStatus = NullStringjudgment(NSStr(dic[@"povertyStatus"]));
            }
            if ([[dic allKeys] containsObject:@"povertyReason"]) {
                manager.povertyReason = NullStringjudgment(NSStr(dic[@"povertyReason"]));
            }
            if ([[dic allKeys] containsObject:@"branchName"]) {
                manager.branchName = NullStringjudgment(NSStr(dic[@"branchName"]));
            }
            if ([[dic allKeys] containsObject:@"attribute"]) {
                manager.attribute = NullStringjudgment(NSStr(dic[@"attribute"]));
            }
            if ([[dic allKeys] containsObject:@"hold"]) {
                manager.hold = NullStringjudgment(NSStr(dic[@"hold"]));
            }
            if ([[dic allKeys] containsObject:@"averageIncome"]) {
                manager.averageIncome = NullStringjudgment(NSStr(dic[@"averageIncome"]));
            }
            if ([[dic allKeys] containsObject:@"personCount"]) {
                manager.personCount = NullStringjudgment(NSStr(dic[@"personCount"]));
            }
            if ([[dic allKeys] containsObject:@"idNumber"]) {
                manager.idNumber = NullStringjudgment(NSStr(dic[@"idNumber"]));
            }
            if ([[dic allKeys] containsObject:@"contactPhone"]) {
                manager.contactPhone = NullStringjudgment(NSStr(dic[@"contactPhone"]));
            }
            if ([[dic allKeys] containsObject:@"work"]) {
                manager.work = NullStringjudgment(NSStr(dic[@"work"]));
            }
            if ([[dic allKeys] containsObject:@"school"]) {
                manager.school = NullStringjudgment(NSStr(dic[@"school"]));
            }
            if ([[dic allKeys] containsObject:@"health"]) {
                manager.health = NullStringjudgment(NSStr(dic[@"health"]));
            }
            if ([[dic allKeys] containsObject:@"workTime"]) {
                manager.workTime = NullStringjudgment(NSStr(dic[@"workTime"]));
            }
            if ([[dic allKeys] containsObject:@"degree"]) {
                manager.degree = NullStringjudgment(NSStr(dic[@"degree"]));
            }
            if ([[dic allKeys] containsObject:@"medical"]) {
                manager.medical = NullStringjudgment(NSStr(dic[@"medical"]));
            }
            if ([[dic allKeys] containsObject:@"householdNumber"]) {
                manager.householdNumber = NullStringjudgment(NSStr(dic[@"householdNumber"]));
            }
            if ([[dic allKeys] containsObject:@"relation"]) {
                manager.relation = NullStringjudgment(NSStr(dic[@"relation"]));
            }
            if ([[dic allKeys] containsObject:@"ability"]) {
                manager.ability = NullStringjudgment(NSStr(dic[@"ability"]));
            }
            if ([[dic allKeys] containsObject:@"id"]) {
                manager.id_id = NullStringjudgment(NSStr(dic[@"id"]));
            }
            if ([[dic allKeys] containsObject:@"customerId"]) {
                manager.customerId = NullStringjudgment(NSStr(dic[@"customerId"]));
            }
            if ([[dic allKeys] containsObject:@"leaf"]) {
                manager.leaf  = NullStringjudgment(NSStr(dic[@"leaf"]));
            }
            if ([[dic allKeys] containsObject:@"address"]) {
                manager.address  = NullStringjudgment(NSStr(dic[@"address"]));
            }
            if ([[dic allKeys] containsObject:@"summary"]) {
                manager.summary  = NullStringjudgment(NSStr(dic[@"summary"]));
            }
            if ([[dic allKeys] containsObject:@"sortIndex"]) {
                manager.sortIndex  = NullStringjudgment(NSStr(dic[@"sortIndex"]));
            }
            if ([[dic allKeys] containsObject:@"branchId"]) {
                manager.branchId  = NullStringjudgment(NSStr(dic[@"branchId"]));
            }
            if ([[dic allKeys] containsObject:@"antiStart"]) {
                manager.antiStart  = NullStringjudgment(NSStr(dic[@"antiStart"]));
            } if ([[dic allKeys] containsObject:@"antiEnd"]) {
                manager.antiEnd  = NullStringjudgment(NSStr(dic[@"antiEnd"]));
            }if ([[dic allKeys] containsObject:@"finance"]) {
                manager.finance  = NullStringjudgment(NSStr(dic[@"finance"]));
            }if ([[dic allKeys] containsObject:@"industry"]) {
                manager.industry  = NullStringjudgment(NSStr(dic[@"industry"]));
            }if ([[dic allKeys] containsObject:@"education"]) {
                manager.education  = NullStringjudgment(NSStr(dic[@"education"]));
            }if ([[dic allKeys] containsObject:@"hygiene"]) {
                manager.hygiene  = NullStringjudgment(NSStr(dic[@"hygiene"]));
            }if ([[dic allKeys] containsObject:@"difficult"]) {
                manager.difficult  = NullStringjudgment(NSStr(dic[@"difficult"]));
            }if ([[dic allKeys] containsObject:@"county"]) {
                manager.county  = NullStringjudgment(NSStr(dic[@"county"]));
            }if ([[dic allKeys] containsObject:@"city"]) {
                manager.city  = NullStringjudgment(NSStr(dic[@"city"]));
            }
            if ([[dic allKeys] containsObject:@"financeContent"]) {
                manager.financeContent  = NullStringjudgment(NSStr(dic[@"financeContent"]));
            }if ([[dic allKeys] containsObject:@"industryContent"]) {
                manager.industryContent  = NullStringjudgment(NSStr(dic[@"industryContent"]));
            }if ([[dic allKeys] containsObject:@"educationContent"]) {
                manager.educationContent  = NullStringjudgment(NSStr(dic[@"educationContent"]));
            }if ([[dic allKeys] containsObject:@"hygieneContent"]) {
                manager.hygieneContent  = NullStringjudgment(NSStr(dic[@"hygieneContent"]));
            }if ([[dic allKeys] containsObject:@"socialContent"]) {
                manager.socialContent  = NullStringjudgment(NSStr(dic[@"socialContent"]));
            }if ([[dic allKeys] containsObject:@"countyContent"]) {
                manager.countyContent  = NullStringjudgment(NSStr(dic[@"countyContent"]));
            }if ([[dic allKeys] containsObject:@"cityContent"]) {
                manager.cityContent  = NullStringjudgment(NSStr(dic[@"cityContent"]));
            }
            
            [arrayMut addObject:manager];//
        }
        
        self.mutArrayData = arrayMut;
    }
    return self;
}
@end
@implementation LSZInquiryPoorHouseholdsMg
@end
